<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<div class="bjui-pageContent">
	<form action="${ctx}/sys/update${actionclass}.do" id="j_custom_form" data-toggle="ajaxform">
		<input type="hidden" value="${modifybean.id}" name="id" />
		<input type="hidden" value="${modifybean.canyu}" name="canyu" />
		<div class="bjui-row col-3">
			<label class="row-label">问卷主题</label>
			<div class="row-input">
				<input type="text" name="name" id="Ques_name" value="${modifybean.name}" data-rule="required">
			</div>
			<br />

			<label class="row-label">截至日期</label>
			<div class="row-input">
				<input type="text" name="endDate" id="Ques_endDate" value="${modifybean.endDate}" readonly="readonly"
					data-rule="required">
			</div>
			<br />
			<label class="row-label">发布</label>
			<div class="row-input">
				<select name="qstatus" id="jnl23jlk32jl" data-toggle="selectpicker" data-rule="required" data-width="300">
					<option value="未发布">未发布</option>
					<option value="已发布">已发布</option>
				</select>
			</div>
			<br />
			<label class="row-label">重复问卷</label>
			<div class="row-input">
				<select name="chongfu" id="Ques_chongfu" data-toggle="selectpicker" data-rule="required" data-width="300">
					<option value="否">否</option>
					<option value="是">是</option>
				</select>
			</div>
			<br />


		</div>
	</form>

</div>
<div class="bjui-pageFooter">
	<ul>
		<li>
			<button type="button" class="btn-close" data-icon="close">取消</button>
		</li>
		<li>
			<button type="submit" class="btn-default" data-icon="save">保存</button>
		</li>
	</ul>
</div>
<script type="text/javascript">
	$("#jnl23jlk32jl").val("${modifybean.qstatus}");
	$("#Ques_chongfu").val("${modifybean.chongfu}");
</script>
<script type="text/javascript">
	$('#Ques_endDate').datepicker({
		pattern : 'yyyy-MM-dd',
		minDate : '%y-%M-{%d+1}'
	})
</script>
